import React, { PureComponent } from "react";
import PropTypes from "prop-types";
import { connect } from "react-redux";
import { createForm } from "rc-form";
import ResumeHead from "../../components/ResumeHead";
import Perfection from "../../components/Perfection";
import style from "./style.less";

class Perfectresume extends PureComponent {
  componentDidMount() {
    console.log(this.props);
  }

  render() {
    return (
      <div className={style.PerfectionBox}>
        <ResumeHead />
        <Perfection />
      </div>
    );
  }
}

const mapStateToProps = (state, ownProps) => {};

const mapDispatchToProps = (dispatch, ownProps) => {
  return {};
};

Perfectresume.propTypes = {
  login: PropTypes.object
};

export default connect(
  mapStateToProps,
  mapDispatchToProps
)(createForm()(Perfectresume));
